package com.shy.pet.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shy.pet.entity.Pets;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface PetsMapper extends BaseMapper<Pets> {
    @Select("select * from pets where pet_id=#{petId}")
    Pets selectpetbyid(int petId);
}
